package com.zzxy.dao.UserDao;

import com.zzxy.entity.User;

public class UserDaoImpl {
   SqlSession sqlSession;

    public UserDaoImpl(SqlSession sqlSession) {
    }

    public void setSqlSession(SqlSession sqlSession) {
        this.sqlSession = sqlSession;
    }
    public User findUserByDao(int id){
        User user =sqlSession.selectOne("findUserById",id);
        return user;
    }

    private class SqlSession {
        public User selectOne(String findUserById, int id) {
            return null;
        }


    }
}